package com.ruoyi.miniprogram.service;

import com.ruoyi.common.core.domain.dto.MiniProgramUserDto;
import com.ruoyi.common.core.domain.entity.miniprogram.MiniAddress;

import java.util.List;

public interface IMiniprogramUserService {


    /**
     * 退出登录。
     */
    void logout();

    int updateMiniprogramUser(MiniProgramUserDto userDto);

    int insertAddress(MiniAddress address);

    List<MiniAddress> getAddressList();

    int updateAddress(MiniAddress address);

    MiniAddress getAddressInfo(Long addressId);

    int deleteAddress(Long addressId);
}
